package com.kch.system.service;

import com.kch.system.domain.SysUser;
import com.kch.system.domain.TrainApplicants;
import com.kch.system.req.CommonReq;
import com.kch.system.vo.TrainMemberVO;

import java.util.List;
import java.util.Map;

public interface ITrainApplicantsService {

    List<TrainMemberVO> selectByTrainId(TrainApplicants applicants);

    int updateById(TrainApplicants applicants);

    Map<Integer, Integer> checkUserReg(List<Integer> trainIds, Integer userId);

    int application(CommonReq req, SysUser sysUser);
}
